<?php

//
Route::group(['namespace' => 'Admin','prefix' => 'admin','middleware' => 'admin.login'],function(){
    Route::get('index','IndexController@index');
    /*Route::get('index','IndexController@a');
    Route::get('index','IndexController@b');*/

    //用户相关
    Route::resource('user','UserController');
    //栏目相关
    //用户相关
    Route::resource('cat','CatController');

});
